package com.hexin.hdfs;

import org.apache.hadoop.conf.Configuration;

import java.io.FileInputStream;
import java.io.FileNotFoundException;

/**
 * @author xuxiang 2019/9/5 21:39
 */
public class Hdfs {

    public static void main(String[] args) throws FileNotFoundException {
        String confPath = "D:\\data\\hdfs-site.xml";
        Configuration conf = new Configuration();
        conf.addResource(new FileInputStream(confPath));




    }

}
